class CreateEntries < ActiveRecord::Migration
  def self.up
    create_table :entries do |t|
      t.integer :account_id, :payee_id, :category_id, :payee_mapping_id, :amount
      t.string :memo, :original_payee, :sync_reference
      t.boolean :reconciled
      t.date :transaction_date
      t.timestamps
    end
  end

  def self.down
    drop_table :entries
  end
end
